package com.example.demo.dao;
import com.example.demo.bean.SecurityDomain;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 *
 * @author ouyangzhixiang
 * @date 2018/6/23
 */
public interface SecurityDomainRepository extends JpaRepository<SecurityDomain, Integer> {
    List<SecurityDomain> findByParentIdOrderById(Integer parentId);
}
